Unisco Template Documentation v1.0 by Surjith S M
First of all, Thank you so much for purchasing this template and for being my loyal customer.
You are awesome!
You are entitled to get free lifetime updates to this product + exceptional support from the author directly.
This documentation is to help you regarding each step of customization. Please go through the documentation carefully to understand how this template is made and how to edit this properly. Basic HTML and CSS knowledge is required to customize this template. You may learn basics here, here and here. or see a short video below (created by me).
If you are new to HTML, I highly recommend that you watch the video tutorial below which I have outlined all basic steps for customizing HTML. Its 20 minutes long. But It worth it if you are a newbie.
You will need the following sofwares to customize this template.
If you are able to read this documentation locally, which means you have successfully downloaded the package and extracted the zip. The file structure as follows :
Unisco/
├── Help Docs/
├── HTML/
│ ├── css/
│ ├── fonts/
│ ├── images/
│ ├── js/
│ ├── php/
│ ├── sass/
├── PSD/
The folder you have to customize is the HTML folder. Copy HTML folder from the package and paste it in your Project Folder. (This helps you to prevent overwriting in original files. so if you messed up something, you will get the original here.)
Here are the list of HTML Pages included with this template
index.html about.html academics.html admission-form.html campus-life.html contact.html course-detail.html events.html research.html sample-page.html shortcodes.html blog.html blog-single.htmlFor home page header slider, we have used Bootstrap's Carousel. To customize the images and the caption, please follow the steps below
/images folderimg tag src with the new image namecarousel-caption divCode Sample:
<div class="carousel-item active">
<!-- Carousel Image -->
<img class="d-block" src="images/slider.jpg" alt="First slide">
<!-- Carousel Caption -->
<div class="carousel-caption d-md-block">
<div class="slider_title">
<h1>Your Heading here</h1>
<h4>Long some heading goes here.</h4>
<div class="slider-btn">
<a href="#" class="btn btn-default">Link One</a>
<a href="#" class="btn btn-default">Link Two</a>
</div>
</div>
</div>
</div>
To setup the instagram feed just above the footer on all pages, Please follow the steps below.
CLIENT IDAccess Token/js/script.js fileClient ID, Access Token and your Instagram User ID to the script (see code below)If you need additional customizations, you can read the plugin documentation here: http://instafeedjs.com/
...
var feed = new Instafeed({
get: 'user',
userId: 'INSTAGRAM_USER_ID', // User ID here
resolution: 'low_resolution',
clientId: 'INSTAGRAM_CLIENT_ID_HERE', // Client ID here
accessToken: 'INSTAGRAM_ACCESS_TOKEN_HERE', // Access Token here
...
To setup Twitter Feeds in the Footer section, you need to follow the steps below
To setup Twitter feed, you need to obtain CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN, ACCESS_SECRET from Twitter.
/php/twitter/config.php
// Consumer Key
define('CONSUMER_KEY', 'CONSUMER_KEY_HERE');
define('CONSUMER_SECRET', 'CONSUMER_SECRET_HERE');
// User Access Token
define('ACCESS_TOKEN', 'ACCESS_TOKEN_HERE');
define('ACCESS_SECRET', 'ACCESS_SECRET_HERE');
/js/script.js file
...
'count': 2,
'username': 'TWITTER_USERNAME', // Change username here
'hideReplies': true,
...
Done. Now save files and upload to a PHP Server to test. For more customization, Please read the Plugin docs here: https://github.com/sonnyt/tweetie
A calendar widget is included in this template, You can see it on events.html page by clicking on "Calendar View" Tab. To setup, please follow the steps below.
/js/script.js file
events: [
{
title: 'All Day Event',
start: '2017-05-01'
},
{
title: 'Long Event',
start: '2017-05-07',
end: '2017-05-10'
},
{
id: 999,
title: 'Repeating Event',
start: '2017-05-09T16:00:00'
},
{
id: 999,
title: 'Repeating Event',
start: '2017-05-16T16:00:00'
},
{
title: 'Conference',
start: '2017-05-11',
end: '2017-05-13'
},
{
title: 'Meeting',
start: '2017-05-12T10:30:00',
end: '2017-05-12T12:30:00'
}]
Managing events inside the js script can be difficult. So You have the option to sync your Google Calender to the Event Calendar widget in the website. Please read the instructions below to activate Google Calendar
Next, you should add the below line of code in the HTML file before </body> and script.js(very bottom) to support Google Calendar:
<script type='text/javascript' src='js/gcal.min.js'></script>
Now it's time to change the calendar script in JavaScript for Google Calendar.
/js/script.js file
$('#calendar').fullCalendar({
header: {
left: 'prev,next today',
center: 'title',
right: 'month,listYear'
},
displayEventTime: false,
// Calendar API Key
googleCalendarApiKey: 'YOUR_GOOGLE_CALENDAR_API_KEY',
// Calendar ID
events: {
googleCalendarId: 'abcd1234@group.calendar.google.com'
}
eventClick: function(event) {
// opens events in a popup window
window.open(event.url, 'gcalevent', 'width=700,height=600');
return false;
}
});
Google Map of your Location is shown in the contact page. To setup, follow the steps below
Open the HTML page which contains the Google Map (eg: contact.html). Now, Find the following line of code (at very bottom of the page).
<script src="https://maps.googleapis.com/maps/api/js?callback=myMap&key=YOUR_MAPS_API_KEY_HERE"></script>
Change YOUR_MAPS_API_KEY_HERE with your actual Google Maps API key.
contact.html and find the div for google maps (see code below)data-lat value with latitude and data-lon value with longitudedata-zoom to adjust the Zoom Value.
<div id="map" data-lat="40.674" data-lon="-73.945" data-zoom="12"></div>
To setup contact form, Follow the steps below.
To receive emails, First you need to set your email address. Open /php/contact.php file in your code editor. Then you can change the Email ID and Subject. See code below
/* * ------------------------------------ * Contact Form Configuration * ------------------------------------ */ $to = "email@example.com"; // Your email ID here $server_email = 'webmaster@yourdomain.com'; // Your domain email to authenticate outgoing emails.
If you want your users to be redirected to another page after completing the form successfully such as Thank you page or Success page. It is really easy to do with this Template. Open the HTML and Just add data-redirect="/path/to/thanks.html" to <form> element and you are done. See example:
<!-- // NOTE THE data-redirect attribute --> <form action="php/contact.php" method="POST" data-redirect="success.html">
Alternatively, If you don't want to redirect your users and want to stay in same page, Just change the data-redirect attribute value to none.
This step is to setup Mailcihmp Subscription form in the footer. First You will need to get some details from Mailchimp.
Once you have the API and List ID, Open /php/subscribe.php and Add your API Key and List ID. You can also configure some more options if you want. Such as Double Optin, Send Welcome and MMERGE tags like First Name and Last Name. See sample below.
/* * ------------------------------------ * Mailchimp Email Configuration * ------------------------------------ */ $apiKey = 'YOUR_MAILCHIMP_API_KEYS_HERE'; /*Your Mailchiimp API Key*/ $listId = 'LIST_ID_HERE'; /*Mailchimp List ID*/ $double_optin = true; /*Set False if you don't need to verify user enmail */ $send_welcome = true; /* Send Welcome email to new users */ $email = $_POST['email']; $fname = ''; $lname = '';
If you want your users to be redirected to another page after completing the form successfully such as Thank you page or Success page. It is really easy to do with this Template. Open the HTML and Just add data-redirect="/path/to/thanks.html" to <form> element and you are done. See example:
<!-- // NOTE THE data-redirect attribute --> <form action="php/subscribe.php" method="POST" data-redirect="success.html">
Alternatively, If you don't want to redirect your users and want to stay in same page, Just change the data-redirect attribute value to none.
To setup admission form (admission-form.html), Follow the steps below.
To receive admission form emails, First you need to set your email address. Open /php/admission.php file in your code editor. Then you can change the Email ID and Subject. See code below
/* * ------------------------------------ * Admission Form Configuration * ------------------------------------ */ $to = "email@example.com"; // Your email ID here $server_email = 'webmaster@yourdomain.com'; // Your domain email to authenticate outgoing emails.
If you want your users to be redirected to another page after completing the form successfully such as Thank you page or Success page. It is really easy to do with this Template. Open the HTML and Just add data-redirect="/path/to/thanks.html" to <form> element and you are done. See example:
<!-- // NOTE THE data-redirect attribute --> <form action="php/admission.php" method="POST" data-redirect="success.html">
Alternatively, If you don't want to redirect your users and want to stay in same page, Just change the data-redirect attribute value to none.
This template comes with some useful shortcodes to use for your website. Its all orgainzed in shortcodes.html page. Available shortcodes are listed below.
Once you have finished all customizations, The next step is to upload your Landing Page to a Live Hosting Server. For that you will need to buy a Hosting Plan and a Domain name from a Service Provider.
Once you have registered a domain name and Hosting, You will get FTP details from your hosting provider. Use that login details to connect with your server. You will need an FTP Software for this such as FileZilla. Connect with your server and open /public_html folder in your server. Then copy all HTML, CSS and JS files from your local machine to your root /public_html folder in your server. Please note the HTML files should be in the Server's root folder. If your local project is in /your-folder/ Do not upload the folder directly. Instead open the folder and select all HTML files and CSS, JS folders and upload.
A Fast & Optimized Website has several factors which needs to be implemented in order to achieve the desired results. There are several Optimization Techniques available which will definitely affect your Website's Performance in a Positive Way & we want to share a few of them with you:
This is probably one of the Most Important Techniques you should definitely implement in order to bump up your Website's Loading Speed. gZip Compression is used to compress the Files that are delivered when loading a Website. It covers HTML, CSS, Javascript & Font Files along with other miscellaneous text files. Where as Browser Caching also covers Images & Videos apart from including the above files. This is used to saves the Static Data in your Browser itself so that when you open the Next Pages on the Same Website, the content does not gets Downloaded again, loading the Website fast.
gZip Compression & Browser Caching can be enabled using the .htaccess File on an Apache Web Server. You can use the Codes from here: https://github.com/h5bp/html5-boilerplate/blob/master/dist/.htaccess to enable these modules on your server.
We tend to use Lots of Images on our Websites but we often do not make efforts to Compress & Optimize them. Remember, the Larger the Image, the more time it takes to download and therefore this slows your website loading times affecting User Experience. Your customer will leave your website if it does not load within 3-5 Seconds which adversely affects your Sales. Therefore, it is important to Resize, Optimize & Compress your Images before using it on your Website. Here are some Tips which might come handy in optimizing images:
<img> Tag without resizing it. The size/resolution of the Image matters since it is not recommended to use an Image size of 1200px x 800px in a Content Size of 300px x 200px as this is unnecessary. Resize it to 300px x 200pxIt is also recommended that you Combine & Minify all your CSS Files to a single CSS File & all Javascript Files to a single JS File since Minification reduces the size of the File and Combining the files helps in reducing the number of HTTP requests made to the server. This is also an Important Factor in increasing the speed of your website. There are several tools available online to Minify your CSS & JS Files. Our recommendations are:
For CSS use CSS Minifier and For Javascript use Javascript Minifier.
You can use a CDN to further speed up your website. You can use the CDN to deliver static files of your website like CSS, JS, Images & Font Files. There are several CDN Hosting Providers available on the Internet but we would recommend MaxCDN or CloudFlare. Note: CDN setup requires Extra monthly Fees to setup, so it is completely optional & according to your needs. Cloudflare also has a Free plan, you can try that for free.
A lot depends on your Web Hosting Servers, so it is recommended that you choose a Hosting Company/Server that provides a Reliable & a Fast Hosting Service. You can also choose our shared hosting plans. See above.
We are really thankful to the makers of the frameworks, plugins and images below. We used these to make this Landing Page more functional. Demo images, you have seen in Live Demo is not included in the download package because of their copyright restrictions.
If you have purchased an earlier version and want to upgrade your website to the newwer version of this template, You can follow the steps. In each update, we will keep a changelog or version history, where we will keep the log of all changes made. We will list out the Changes made, Features added and Pages modified. So it will be easier for you to replace the existing. If you have modified a file which has latest update, for example, CSS, Open both page in a code editor and use a Comparison Sofware or an Online Tool like Diff Now to compare changes in both files. Then you can manually copy paste the changed lines without affecting your file. NOTE: We recommend that you keep a separate file for new additions or changes if possible.
-- 13+ New Page Layouts -- RTL Version -- Home Page Variations -- Video Background -- and more...
Initial Version
If you like the template, Please consider Rating it on Themeforest by Visiting your Downloads Page : http://themeforest.net/downloads That means a lot to me :)
Please remember you have purchased a very affordable template and you have not paid for a full-time web design agency. Occasionally we will help with small tweaks, but these requests will be put on a lower priority due to their nature. Please be patient, polite and respectful. We will try to answer your questions as soon as possible
Support for my items includes:Once again, Thank you so much for purchasing this template and being by loyal customer. You can reach me pesonally on Twitter @surjithctly or via my Personal Email (No Support requests please.. use support website instead)